import java.util.ArrayList;

public class Case {
	
	public int year;
	public int id;
	public double latitude;
	public double longitude;
	public String atmosphere;
	public String hour; //cluster
	public String month;
	public String time; //exact, 24hr
	public String day; //weekday/weekend
	public String light;
	public int fatalities;
	public String speeding;
	public String county;
	
	public ArrayList<Person> people;
	public ArrayList<String> vehicles;
	
	public Case(int id, int year, double latitude, double longitude, String atmosphere, String light, String hour, String month, String time, String day, int fatalities, String speeding, String county)
	{
		this.id = id;
		this.year = year;
		this.latitude = latitude;
		this.longitude = longitude;
		this.atmosphere = atmosphere;
		this.light = light;
		this.hour = hour;
		this.month = month;
		this.time = time;
		this.day = day;
		this.fatalities = fatalities;
		this.speeding = speeding;
		this.county = county;
		people = new ArrayList<Person>();
		vehicles = new ArrayList<String>();
	}
	
	void addPerson(Person p)
	{
		people.add(p);
		
	}
	void addVehicle(String s){
		vehicles.add(s);
	}

}
